﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace LinqToPi
{
    [DataContract]
    public partial class PiTotalValue
    {
        
            [DataMember]
            public string Tag { get; internal set; }
            [DataMember]
            public string Expr { get; internal set; }
            [DataMember]
            public DateTime Time { get; internal set; }
            //Invalid cast exception when projecting data
            [DataMember]
            public TimeSpan TimeStep { get; internal set; }
            [DataMember]
            public string CalcBasis { get; internal set; }
            [DataMember]
            public double? Value { get; internal set; }
            [DataMember]
            public double? PctGood { get; internal set; }


    }
}
